package org.xhnews.to;


public class MessageItem {
	private String id;
	private String title;
	private String senderName;
	private String date;
	private boolean isRead;
	private String attach;
	public MessageItem(){
		id="";
		title="";
		senderName="";
		date="";
		isRead=false;
		attach="none";
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getId() {
		return id;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitle() {
		return title;
	}
	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
	public String getSenderName() {
		return senderName;
	}
	public void setDate(String date) {
		this.date = date;//.substring(0, title.length()-4);
		//Log.i("text",date);
	}
	public String getDate() {
		return date;
	}
	public void setRead(boolean isRead) {
		this.isRead = isRead;
	}
	public boolean isRead() {
		return isRead;
	}	
	public String toString(){
		return title+" "+senderName+" "+date;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getAttach() {
		return attach;
	}
}
